package day03;

public class OperDemo5 {
    public static void main(String[] args) {
        int age = 22;
        System.out.println("age="+ age);
        System.out.println("大家好，我今年"+ age + "岁了");
        String name = "郭金磊";
        System.out.println("大家好，我的名字是"+name);
        System.out.println("大家好，我的名字是"+name+",我今年"+age+"岁了");

        System.out.println(10+10+10+"");//30
        System.out.println(10+""+10+10);//101010
        System.out.println(""+10+10+10);//101010

    }
}
